package com.xq.pojo;

import com.xq.util.ParameterMapping;

import java.util.ArrayList;
import java.util.List;

/**
 * @Author: xiaoqiang
 * @Description:
 * @Date: 2021/6/1
 * @Version: 1.0
 */
public class BoundSql {

    //    解析之后的sql，即带？的
    private String executeSql;
    //参数
    private List<ParameterMapping> param = new ArrayList<>();

    public BoundSql(String executeSql, List<ParameterMapping> param) {
        this.executeSql = executeSql;
        this.param = param;
    }

    public String getExecuteSql() {
        return executeSql;
    }

    public void setExecuteSql(String executeSql) {
        this.executeSql = executeSql;
    }

    public List<ParameterMapping> getParam() {
        return param;
    }

    public void setParam(List<ParameterMapping> param) {
        this.param = param;
    }
}
